package fristphase.day9_04.ooday07;

public class MyInterface{
    public static void main(String[] args) {
        Test o1 = new Test();
        Inter o2 = new Test();
        Boo o3 = new Test();
        o1.show();
        o1.say();
        o2.show();
        o3.say();
    }
}
interface Inter{
    int NUM = 8;
    void show();
}
abstract class Boo{
    abstract void say();
        }
class Test extends Boo implements Inter{
    public void show(){
        System.out.println("晚上"+NUM+"点，我在沙城等你");
    }
    void say(){
        System.out.println("这是抽象方法");
    }
}